{% extends "moko_base.html" %}
{% block head %}
  <script type="text/javascript">
  //<![CDATA[
  //]]>
  </script>
{% endblock %}
{% block body %}
	<div id="topgirl">
		<div class="desc">
		<span>{{model.name}}</span>/
		{% for c in model.category %}
		<span>{{c}}</span>/
		{% endfor %}
		{% if model.address %}
		<span>{{model.address}}</span>/
		{% endif %}
		{% if model.visitcount %}
		<span>VISIT:{{model.visitcount}}</span>/
		{% endif %}
		{% if model.age %}
		<span>AGE:{{model.age}}</span>
		{% endif %}
		{% if is_admin %}
		<div class="profile">
		{% if model.birthdate %}
			<div><span class="key">出生日期</span><span class="value">{{model.birthdate}}</span></div>
		{% endif %}
		{% if model.astrology %}
			<div><span class="key">星座</span><span class="value">{{model.astrology}}</span></div>
		{% endif %}
		{% if model.hometown %}
			<div><span class="key">家乡</span><span class="value">{{model.hometown}}</span></div>
		{% endif %}
		{% if model.height %}
			<div><span class="key">身高</span><span class="value">{{model.height}}</span></div>
		{% endif %}
		{% if model.weight %}
			<div><span class="key">体重</span><span class="value">{{model.weight}}</span></div>
		{% endif %}
		{% if model.size %}
			<div><span class="key">三围</span><span class="value">{{model.size}}</span></div>
		{% endif %}
		{% if model.blood %}
			<div><span class="key">血型</span><span class="value">{{model.blood}}</span></div>
		{% endif %}
		{% if model.fair %}
			<div><span class="key">头发颜色</span><span class="value">{{model.fair}}</span></div>
		{% endif %}
		{% if model.feet %}
			<div><span class="key">鞋码</span><span class="value">{{model.feet}}</span></div>
		{% endif %}
		</div>
		<div class="mokolink">
			{% if model.excluded %}<span class="excluded">[EXCLUDED]</span>{% endif %}
			<a href="{{model.homepage}}">moko homepage</a>
		</div>
		<ul class="command">
			{% ifequal model.gender None %}
			<li><a href="/model/{{ model.username}}?action=mokogirl">moko girl</a></li>
			{% endifequal %}
			{% if not model.excluded %}
			<li><a href="/model/{{ model.username}}?action=excluded">Exclude</a></li>
			{% endif %}
		</ul>
		{% endif %}
	</div>
	{% if albums %}
	<div id="albumgallery">
	<ul class="gallery">
	{% for album in albums %}
	<li class="album">
		<a href="/album/{{album.key}}" title="{{album.url}}">
			<img class="cover" src="{{host_img}}/{{model.username}}/{{album.cover|imagename}}" alt="{{album.url}}">
		</a>
		<div class="name">{{album.title}}/{{album.get_photo_count}}{% if is_admin %}/{{album.count_photo}}{% endif %}</div>
		{% if is_admin %}
		<div class="admin">
			{% if not album.excluded %}
			<span><a href="/album/{{album.key}}?action=excluded">Exclude</a></span>
			{% endif %}
			{% if not album.mtgalbum %}
			<span><a href="/album/{{album.key}}?action=mtg">MTG Album</a></span>
			{% endif %}
			{% if not album.selected %}
			<span><a href="/album/{{album.key}}?action=selected">Selected</a></span>
			{% endif %}
			{% if album.deletable %}
			<span><a href="/album/{{album.key}}?action=delete">deleted</a></span>
			{% endif %}
		</div>
		{% endif %}
	</li>
	{% endfor %}
	</ul>
	</div>
	{% endif %}
{% endblock %}
{% block footer %}
{% endblock %}